package com.mall.cart.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(description = "购物车商品")
public class CartItemVO {
    @Schema(description = "商品ID")
    private Long productId;
    @Schema(description = "商品数量")
    private Integer quantity;
    @Schema(description = "是否选中")
    private Boolean selected;
    @Schema(description = "商品单价")
    private BigDecimal price;
    @Schema(description = "总价")
    private BigDecimal totalPrice;
}